/* Copyright (c), 1999, 2000 - phpauction This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation (version 2 or later). This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ Function ToBeDeleted($index) { Global $delete; $i = 0; while($i < count($delete)) { if($delete[$i] == $index) return true; $i++; } return false; } require('./includes/messages.inc.php'); require('./includes/config.inc.php'); if($act){ $rebuilt_array = array(); $i = 0; while($i < count($new_payments)){ if(!ToBeDeleted($i) && strlen($new_payments[$i]) != 0){ $rebuilt_array[] = $new_payments[$i]; } $i++; } //-- $query = "delete from blacklist where user='$user_id'"; $result = mysql_query($query); if(!$result) { print $ERR_001." - ".mysql_error(); exit; } //-- $i = 0; $counter = 1; while($i < count($rebuilt_array)){ $query = "insert into blacklist values('',\"$user_id\",\"$rebuilt_array[$i]\")"; $result = mysql_query($query); if(!$result) { print $ERR_001." - ".mysql_error(); exit; } $counter++; $i++; } $MSG = "MSG_093b"; } ?>
PARTNERPROGRAMM |
Setzen Sie einen Link , einen Banner oder einen Button auf Ihre Homepage und werben Sie für unser Auktionshaus. Für jede Neuanmeldung erhalten Sie sofort eine Prämie von EURO auf Ihr Auktionskonto gutgeschrieben. Nutzen Sie hierzu nachstehende Codes. Mit der Maus markieren ( rechte Maustaste gedrückt halten ) dann kopieren ( linke Maustaste ) und in Ihre Homepage einfügen. Das Prämienguthaben ist nicht übertragbar und kann nicht zur Auzahlung gebracht werden. Bitte beachten Sie unsere AGB ! |